package com.goktech.sportsmall.controller;

import com.goktech.sportsmall.service.CommSortService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/commSort")
public class VueCommSortController {

    @Autowired
    CommSortService commSortService;
    @GetMapping("/getBy")
    public Map<String,Object> getInfo(String c_no){
        return commSortService.vueCommSortGetByCsNo(c_no);
    }
}
